package com.abl.common.annotation.check;

import org.springframework.web.bind.annotation.Mapping;

import java.lang.annotation.*;

@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Mapping
public @interface Rule {
    String[] key() default {};

    String[] rule() default {};

    String[] param() default {};

    String[] msg() default {};

    String[] name() default {};

}
